﻿<%@ Page Title="" Language="C#" MasterPageFile="~/webmx/layout/Default.master" AutoEventWireup="true" CodeFile="List.aspx.cs" Inherits="webmx_program_order_List" %>

<asp:Content ID="Content1" ContentPlaceHolderID="mp_head" runat="Server">
    <link rel="stylesheet" href="/webmx/css/select2.css" />
    <style>
        .select2-container { margin-top: 4px; }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mp_body" runat="Server">
    <% if (data != null && data.Rows.Count > 0) { %>
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span12">
                <div class="widget-box">
                    <div class="widget-title">
                        <span class="icon"><i class="icon-th"></i></span>
                        <h5>捐助列表</h5>
                    </div>
                    <div class="widget-content nopadding">
                        <table id="odata" class="table table-bordered data-table">
                            <thead>
                                <tr>
                                    <th>#</th>
                                    <th>捐助人头像</th>
                                    <th>捐助人昵称</th>
                                    <th>捐助类型</th>
                                    <th>捐助金额</th>
                                    <th>登记时间</th>
                                    <th>微信支付订单号</th>
                                </tr>
                            </thead>
                            <tbody>
                                <%
                                    for (int i = 0; i < data.Rows.Count; i++)
                                    {
                                %>
                                <tr class="gradeX">
                                    <td style="text-align: center;"><%=(i + 1) %></td>
                                    <td style="text-align: center;">
                                        <img src="<%=data.Rows[i]["headimage"] %>" width="45" /></td>
                                    <td><%=data.Rows[i]["nickname"] %></td>
                                    <td><%=data.Rows[i]["tyname"] %></td>
                                    <td><%=data.Rows[i]["amount"] %></td>
                                    <td><%=data.Rows[i]["addtime"] %></td>
                                    <td><%=data.Rows[i]["number"] %></td>
                                </tr>
                                <%
                                    }
                                %>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <% } %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="mp_foot" runat="Server">
    <script type="text/javascript" src="/webmx/js/jquery.uniform.js"></script>
    <script type="text/javascript" src="/webmx/js/select2.min.js"></script>
    <script type="text/javascript" src="/webmx/js/jquery.dataTables.min.js" charset="gb2312"></script>
    <script type="text/javascript" src="/webmx/js/matrix.tables.js"></script>
    <script>
        $("#sidebar ul li").removeClass("active").eq(3).addClass("active");
    </script>
</asp:Content>

